﻿using blog.Entity;
using blog.Model.Vo;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using blog.Model.Dto;

namespace blog.Service
{
    public interface IUserService : IService<SysUser>
    {

        Task<AjaxResult> ChangePwd(SysUser user);

        Task<AjaxResult> ChangeStatus(SysUser user);

        Task<AjaxResult> Validate(LoginModel param,string ip = "");

        Task<AjaxResult> ListLog(ListModel param, SearchKey key);


    }
}
